// 创建Vuex中的store

import Vue from 'vue'
import Vuex from 'vuex';
import counter from "@/store/counter";
import personList from "@/store/personList";

Vue.use(Vuex);

// 创建并暴露store
export default new Vuex.Store({
    modules: {
        counter,
        personList
    }
});